<h3><%= t(".stats") %></h3>

<div class="row">
  <%= StatBlock(title: Model, value: model_count) %>
  <%= StatBlock(title: ModelFile, value: model_file_count) %>
  <%= StatBlock(title: Creator, value: creator_count) %>
  <%= StatBlock(title: Collection, value: collection_count) %>
  <%= StatBlock(title: User, value: user_count) %>
  <%= StatBlock(title: ActsAsTaggableOn::Tag, value: tag_count) %>
  <%= StatBlock(title: t(".total_file_size"), value: number_to_human_size(total_file_size, precision: 2)) %>
</div>

<hr>

<%= form_with url: settings_path, method: :patch, class: "tabular-form" do |form| %>

  <%= render "folder_settings", form: form %>
  <hr>
  <%= render "file_settings", form: form %>
  <hr>
  <%= render "tag_settings", form: form %>

  <%= render "submit", form: form %>
<% end %>
